package com.jarvan.service;

import com.jarvan.model.Admin;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface AdminService {
    Admin save(Admin admin);
    Admin findById(Integer adminId);
    Admin findByLoginName(String loginName);
    Admin findByPhone(String phone);
    Page<Admin> findAll(Pageable pageable);
    Page<Admin> findByStatus(Integer adminStatus, Pageable pageable);
}
